using System.Collections.Generic;
using UnityEngine;

public class Player_蓄力特效 : MonoBehaviour
{
	public List<GameObject> _List_蓄力阶段特效;

	public void F_Init(PlayerController pc)
	{
		F_豆子变化切换特效(0);
		pc._On_Curr豆子_Change += F_豆子变化切换特效;
	}

	public void F_豆子变化切换特效(int 豆子数量)
	{
		Debug.LogError($"豆子数量<<{豆子数量}");
		for (int i = 0; i < _List_蓄力阶段特效.Count; i++)
		{
			_List_蓄力阶段特效[i].SetActive(i == 豆子数量);
		}
	}
}
